package com.boot.mgt.service

import com.boot.core.result.ResultTo
import com.googlecode.jsonrpc4j.JsonRpcService
import java.util.*

/**
 * @author kawins
 * createTime 2018-12-09 17:19
 */
@JsonRpcService("statistics")
interface StatisticsService {
    fun accident(start_time: Date, end_time: Date, deathStart: Int, deathEnd: Int): ResultTo

    fun accidentRpc(start_time: Date, end_time: Date, deathStart: Int, deathEnd: Int, police_level: Int): ResultTo
}